<!--申请活动-->
<template>
  <div>
    <header>
      <el-breadcrumb separator-class="el-icon-arrow-right">
        <el-breadcrumb-item :to="{ path: '/index' }">首页</el-breadcrumb-item>
        <el-breadcrumb-item>培训活动</el-breadcrumb-item>
      </el-breadcrumb>
    </header>
    <div style="margin: 1% .5%">
      <div>
          <span>
            培训名称：<el-input v-model="value" placeholder="请输入内容" size="small" style="width: 15%"/>
          </span>
        <span>
            培训主题：<el-select type="text" style="width: 12%" size="small">
          <el-option label="全部" value=""></el-option>
        </el-select>
          </span>
        <span>
            状态：<el-select type="text" style="width: 12%" size="small">
          <el-option label="全部" value=""></el-option>
        </el-select>
          </span>
        <el-button type="primary" size="small">搜索</el-button>
        <el-button size="small">重置</el-button>
      </div>
      <hr>
      <br>
      <el-button type="primary" size="small">+添加培训活动</el-button>
      <el-table size="small" border style="margin-top: 1%">
        <el-table-column  type="selection" prop="date"/>
        <el-table-column prop="" label="培训名称"/>
        <el-table-column prop="" label="培训主题"/>
        <el-table-column prop="" label="培训时间"/>
        <el-table-column prop="" label="福利"/>
        <el-table-column prop="" label="学院人数"/>
        <el-table-column prop="" label="状态"/>
        <el-table-column prop="" label="操作">
          <el-link type="primary">查看学员</el-link>
          <el-link type="primary">编辑</el-link>
          <el-link type="primary">删除</el-link>
        </el-table-column>
      </el-table>
      <el-pagination
        v-model:current-page="currentPage4"
        v-model:page-size="pageSize4"
        :page-sizes="[10, 20, 30, 40]"
        :size="size"
        layout="total, sizes, prev, pager, next, jumper"
        :total="400"
        @size-change="handleSizeChange"
        @current-change="handleCurrentChange"
      />
    </div>
  </div>
</template>
<script>
import {defineComponent} from 'vue'

export default defineComponent({
  name: "activities"
})
</script>
<style scoped>
span{
  margin-right: 1%;
}
.el-pagination{
  margin-top: 1%;
  float: right;
}
</style>
